package pers.lt.logininfo;


import org.springframework.stereotype.Component;
import pers.lt.admin.dao.interfaces.LoginManagerDao;
import pers.lt.vo.UserVoOffices;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;

/**
 * Created by liting on 2015/12/28.
 */
@Component("LoginInfo")
public class LoginInfo {
    @Resource
    private LoginManagerDao loginManagerDaoImp;
    public static UserVoOffices getUserInfo(HttpServletRequest request){

        UserVoOffices userVoOffices = (UserVoOffices)request.getSession().getAttribute("session_userinfo");
        return userVoOffices;
    }
}
